<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<section id="listHotWeek" class="boxSubjectRight rightShadow corner3">
	<div class="boxTitleBlack topCorner3">
		<h3>Truyện tranh hot trong tuần</h3>
	</div>
	<ul>
		<c:choose>
			<c:when test="${lstTruyenTranhByViewsWeek.size() > 0}">
				<c:forEach items="${lstTruyenTranhByViewsWeek}" var="item">
					<li>
						<img class='corner tooltip' src='${item.linkImage}/s40/${item.nameImage}' alt='Truyện tranh ${item.name}' title="<h2>Tóm tắt truyện : ${item.name}</h2><img class='corner' src='${item.linkImage}/s152/${item.nameImage}' alt='Truyện tranh ${item.name}' />${item.info}" />
						<p class="textOverflow">
							<a href='<spring:url value="/truyen-tranh/T${item.id}/${fn:replace(item.alias,' ','-')}.htm" />' title="<h2>Tóm tắt truyện : ${item.name}</h2><img class='corner' src='${item.linkImage}/s152/${item.nameImage}' alt='Truyện tranh ${item.name}' />${item.info}" class='textOverflow tooltip'>${item.name}</a>
							<b>Số chapter: </b><span><fmt:formatNumber type="number" maxIntegerDigits="4" value="${item.totalChapter}" /></span>
						</p>
					</li>
				</c:forEach>
			</c:when>
			<c:otherwise><li>Đang cập nhật...</li></c:otherwise>
		</c:choose>
	</ul>
</section>